/*
* @Description: Scanner&操作符&条件语句练习
 * @Author: rendc
 * @Date: 2023-11-17 16:55:54
 * @LastEditors: rendc
 * @LastEditTime: 2023-11-17 17:09:08
 */
import java.util.Scanner;

public class Test1 {
  public static void main(String[] args) {
    // 创建Scanner对象
    Scanner scanner = new Scanner(System.in);
    // 用键盘录入两个整型数a,b
    System.out.println("请输入两个整型数");
    int a = scanner.nextInt();
    int b = scanner.nextInt();
    System.out.println("a:"+a);
    System.out.println("b:"+b);
    // 比较大小，然后输出结果a>b a==b a<b 
    // boolean flag = a>b;
    // System.out.println("flag=a>b:"+flag);
    // if(flag){
    //   System.out.println("a>b");
    // }
    if (a>b) {
      System.out.println("a>b");
    }
    else if (a<b) {
      System.out.println("a<b");
    } else {
      System.out.println("a=b");
    }
  }
}


